package com.hcy.driver.service.impl;

import com.hcy.common.dto.CarLevelPriceConfig;
import com.hcy.driver.entity.CarLevel;
import com.hcy.driver.mapper.CarLevelMapper;
import com.hcy.driver.service.ICarLevelService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 车辆级别列表 服务实现类
 * </p>
 *
 * @author hcy
 * @since 2021-12-29
 */
@Service
public class CarLevelServiceImpl extends ServiceImpl<CarLevelMapper, CarLevel> implements ICarLevelService {

    @Autowired
    private CarLevelMapper carLevelMapper;

    @Override
    public List<CarLevelPriceConfig> getCarLevelPriceConfig() {
        return carLevelMapper.getCarLevelPriceConfig();
    }
}
